/**
 * 中继页js
 */
angular.module('app.bridge', [
])

.config(function($stateProvider, $urlRouterProvider) {
	$stateProvider
	// 中继页
	.state('main.bridge', {
		url : '/bridge',
		templateUrl : 'app/bridge/bridge.html',
		controller : 'BridgeController'
	})
})

// 中继控制器
.controller('BridgeController', function($scope, BridgeService) {
	$scope.bridgelist = BridgeService.getbridgelist();
	//$rootScope.buycount = ShoppingCartService.getcount();
	// 呼叫
	$scope.call = function(info) {
		//CallService.callservant($scope.rid, $scope.dtid, info);
	}
})
;